package com.base.utils

fun String.splitWithEmpty(delimiters: String): List<String> {
    if (this.isBlank()) return listOf()
    return this.split(delimiters)
}

fun String.yToInt(): Int? {
    return this.toDoubleOrNull()?.toInt()
}